HipAudioClip

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

_getBufferAPI
HipAudioBufferAPI* _getBufferAPI(ubyte[] data, uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
getAudioClipBackend
IHipAudioClip getAudioClipBackend()
Undocumented in source. Be warned that the author may not have intended to support it.
getClipData
ubyte[] getClipData()
Undocumented in source. Be warned that the author may not have intended to support it.
getClipSize
size_t getClipSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getDecodedDuration
float getDecodedDuration()
Undocumented in source. Be warned that the author may not have intended to support it.
getDuration
float getDuration()
Undocumented in source. Be warned that the author may not have intended to support it.
getHint
immutable(HipAudioClipHint)* getHint()
Undocumented in source. Be warned that the author may not have intended to support it.
getSampleRate
uint getSampleRate()
Undocumented in source. Be warned that the author may not have intended to support it.
loadFromMemory
bool loadFromMemory(ubyte[] data, HipAudioEncoding encoding, HipAudioType type, void delegate(in ubyte[]) onSuccess, void delegate() onFailure)
Undocumented in source. Be warned that the author may not have intended to support it.
loadStreamed
uint loadStreamed(ubyte[] data, HipAudioEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
onDispose
void onDispose()
Undocumented in source. Be warned that the author may not have intended to support it.
onFinishLoading
void onFinishLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdateStream
void onUpdateStream(ubyte[] data, uint decodedSize)
Undocumented in source. Be warned that the author may not have intended to support it.
unload
void unload()
Undocumented in source. Be warned that the author may not have intended to support it.
updateStream
uint updateStream()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

clip
IHipAudioClip clip;
Undocumented in source.

Inherited Members

From HipAsset

_name
string _name;

Use it to insert into an asset pool, alias

_assetID
uint _assetID;

Currently not in use

_typeID
uint _typeID;

Usage inside asset manager

startLoadingTimestamp
float startLoadingTimestamp;

When it started loading

loadTime
float loadTime;

How much time it took to load, in millis

name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name(string newName)
Undocumented in source. Be warned that the author may not have intended to support it.
assetID
uint assetID()
Undocumented in source. Be warned that the author may not have intended to support it.
typeID
uint typeID()
Undocumented in source. Be warned that the author may not have intended to support it.
onFinishLoading
void onFinishLoading()

Action for when the asset finishes loading Proabably be executed on the main thread

startLoading
void startLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
finishLoading
void finishLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()

Currently, no AssetID recycle is in mind. It will only invalidate the asset for disposing it on an appropriate time

onDispose
void onDispose()

Use it to clear the engine.

Meta